<?php
$code=$this->response->error->getCode();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta content="text/html; charset=UTF-8" http-equiv="content-type" />
        <title>Webappkit : Error <?php echo $code; ?></title>

        <base href="" />

        <style type="text/css">
body {
    background: #ccc;
    margin: 0;
    padding: 0;
}
h1 {
    background: #eee;
    margin: 0;
    padding: 1em;
}
#content {
    padding: 1em;
    background: #ddd;
    min-height: 20em;
}
#footer {
    padding: 1em;
}
        </style>

    </head>
    <body>
        <h1>Error <?php echo $code; ?></h1>
        <div id="content">
            <p><?php echo $this->response->error->getMessage(); ?></p>
            <pre><?php print_r($this->response); ?></pre>
        </div>
        <div id="footer">
            <p><a href="http://webappkit.net">Webappkit</a>
        </div>
    </body>
</html>